package com.nbsaas.boot.data.ext.apis;

import com.nbsaas.boot.data.api.apis.QueryTemplateApi;
import com.nbsaas.boot.data.ext.domain.data.HandleData;
import com.nbsaas.boot.rest.api.SqlExeApi;
import com.nbsaas.boot.rest.response.ListResponse;
import com.nbsaas.boot.rest.response.MapResponse;
import com.nbsaas.boot.rest.response.ResponseObject;

import java.util.Map;

public interface ResultBatchHandle {

    void setSqlExeApi(SqlExeApi sqlExeApi );

    void setQueryTemplateApi(QueryTemplateApi queryTemplateApi);

    void setHandle(Map<String, ResultHandleWork> handles);

    void handleList(ResponseObject<HandleData> obj, ListResponse<MapResponse> result);
}
